package com.learn.setget;

/**
 * TODO: please加入描述
 * @author chenxin
 * @time 2016-12-14-19:38
 */
public class ThreaTest {
    public static void main(String[] args) {
        System.out.println("main");
        new Thread(new Runnable() {
            public void run() {
                try {
                    System.out.println("threa");
                    Thread.sleep(1000);
                    System.out.println("thread-end");
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }
        }).start();
        System.out.println("main end");
    }
}
